package com.wish.finance.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wish.finance.entity.CwDealPerDay;
import com.wish.finance.entity.CwDealPerDayDetailReceiptDto;
import com.wish.finance.entity.vo.CwDealPaySum;
import com.wish.finance.entity.vo.CwDealPerDayVo;
import com.wish.finance.mapper.CwDealPerDayMapper;
import com.wish.finance.service.ICwDealPerDayService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 
 * @since 2022-03-29
 */
@Service
@Primary
public class CwDealPerDayServiceImpl extends ServiceImpl<CwDealPerDayMapper, CwDealPerDay> implements ICwDealPerDayService {

    @Override
    public IPage<CwDealPerDay> listShow(Page<CwDealPerDay> page, CwDealPerDayVo cwDealPerDayVo) {
        return getBaseMapper().listShow(page,cwDealPerDayVo);
    }

    @Override
    public CwDealPerDayVo sumList(CwDealPerDayVo cwDealPerDayVo) {
        return getBaseMapper().sumList(cwDealPerDayVo);
    }

    @Override
    public IPage<CwDealPerDayDetailReceiptDto> shourumingxi(Page<CwDealPerDayDetailReceiptDto> page, CwDealPerDayVo cwDealPerDayVo) {
        return getBaseMapper().shourumingxi(page,cwDealPerDayVo);
    }

    @Override
    public IPage<CwDealPerDayDetailReceiptDto> shouRuMingXiZhiChu(Page<CwDealPerDayDetailReceiptDto> page, CwDealPerDayVo cwDealPerDayVo) {
        return getBaseMapper().shouRuMingXiZhiChu(page,cwDealPerDayVo);
    }

    @Override
    public CwDealPaySum chaKanXinXiTongJi1(CwDealPerDayVo cwDealPerDayVo) {
        return getBaseMapper().chaKanXinXiTongJi1(cwDealPerDayVo);
    }
}
